/*
 * @Author: hx 2542123711@QQ.com
 * @Date: 2024-11-19 17:04:53
 * @LastEditors: hx 2542123711@QQ.com
 * @LastEditTime: 2024-11-19 19:46:33
 * @FilePath: /class_process-communication/ProcessPoll/Tasklist.cc
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
#pragma once
#include<iostream>
#include<vector>

#define MAX 10
using namespace std;

typedef void (*task)();

void task1()
{
    cout << "更新日志"  <<endl;
}

void task2()
{
    cout << "释放q技能" <<endl;
}

void task3()
{
    cout << "释放大招" <<endl;
}

void task4()
{
    cout << "更新血量和蓝量" <<endl;
}

void InitTask(vector<task>* tasks)
{
    tasks->push_back(task1);
    tasks->push_back(task2);
    tasks->push_back(task3);
    tasks->push_back(task4);
}